<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script>
    const obj = {
        nickname: 7,
        age: 18,
        address: "西安",
    };


    const {x, ...y} = obj


    console.log(x, y)
</script>
</body>
</html>
